package cate.game.role.pvp.pointrace.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBPointRace;
import cate.game.play.vo.PlayReportVO;
import cate.game.play.vo.PlayVO;
import cate.game.res.MixRes;
import cate.game.role.RoleSnapshot;
import easy.java.dev.note.NoteField;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@ClientMsg(title = "挑战结果 の 返回")
public class PointRaceChallengeResultResp implements MsgOutput {
    @NoteField(value = "获胜方")
    public byte winner;

    @NoteField(value = "A的简要数据")
    public RoleSnapshot snapshotA;

    @NoteField(value = "B的简要数据")
    public RoleSnapshot snapshotB;

    @NoteField(value = "A的当前积分")
    public long pointsA;

    @NoteField(value = "B的当前积分")
    public long pointsB;

    @NoteField(value = "A的积分变化")
    public long pointsChangeA;

    @NoteField(value = "B的积分变化")
    public long pointsChangeB;

    @NoteField(value = "获得的奖励")
    public MixRes reward;

    @NoteField(value = "简报")
    public PlayReportVO report;

    @Override
    public MsgConfig conf() {
        return MsgIdBPointRace.CHALLENGE_RESP;
    }
}
